package com.spark.userapi.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author fuqiang
 * @Description 账户VO
 * @Date 2020/9/29
 */
@Data
@ApiModel("账户VO")
public class AccountVO {

    @ApiModelProperty("用户名")
    @NotEmpty(message = "用户名为空")
    private String username;

    @ApiModelProperty("用户密码")
    @NotEmpty(message = "密码为空")
    private String password;

}
